package aliasfor;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface AccessRole {

  @AliasFor("accessType")
  String value() default "visitor";

  @AliasFor("value")
  String accessType() default "visitor";

  String module() default "gui";
}
